package com.cvit;
public class Main
{
	public void chooseClass(SubClass2 sub2)
	{
		System.out.println("in SubClass2.aMethod()");
	}
	public void chooseClass(SubClass3 sub3)
	{
		
	}
	public static void main (String args[])
	{
		public int x=7;
		Airplane airplane=new Airplane;
		airplane.takeOff();
		Supercalss1 sub1=new Supercalss1
		sub1.aMethod();
		airplane.fly();
		Supercalss1 sub2=new Supercalss1
		Supercalss1 sub3=new Supercalss1
		sub2.chooseClass();
		sub3.chooseClass();
		sub2.aMethod();
		airplane.fly();
	}
}